class Mobile::Services::SmsServiceController < Mobile::Services::ServicesController 
  include SmsMessage

  def send_notification
    phone = params[:phone]
    house = params[:house]
    cart  = params[:cart]
    credit = params[:credit]

    content = " 您的贷款最高金额为：房贷#{house}元，车贷#{cart}元,信贷#{credit}元.详情咨询高级贷款顾问罗经理：18382402977.\n道引金服与成都多家银行战略合作,免手续费.无担保费.高效!正规!便捷![道引金服]"
    SmsMessage.send_sms_message(phone,content)
    render :json => {status: 'success'}
  end  
end
